#!/usr/bin/env python
# -*- coding: utf-8 -*- 

__author__ = 'lihaoquan'

#!/usr/bin/env python
# -*- coding:utf-8 -*-
from django.conf.urls import patterns, include, url

# from django.contrib import admin
# admin.autodiscover()
from cupblog import views

urlpatterns = patterns('',
    #首页
    url(r'^$', views.show_homepage, {'page':1}),
    url(r'\.(css|js|png|jpg|gif|xml|swf|html)$', views.get_file),

    url( r'^register/$', views.register),
    url(r'^install/$', views.install),

    # 管理员页面
    url(r'^admin/', include('cupblog.admin.urls')),
)


